package com.ruoyi.project.jiaqin.quotationAvaPrice.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 行情走势-单日均价对象 quotation_day_average_price
 * 
 * @author LCL
 * @date 2021-10-25
 */
public class QuotationDayAveragePrice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 日平均价格 */
    @Excel(name = "日平均价格")
    private String dayAveragePrice;

    /** 走势日期 */
    @Excel(name = "走势日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 发布次数（用户覆盖不计入次数） */
    @Excel(name = "发布次数", readConverterExp = "用=户覆盖不计入次数")
    private Long count;

    /** null */
    @Excel(name = "null")
    private String quotationClassId;

    /** null */
    @Excel(name = "null")
    private Long quotationClassAreaId;

    /** null */
    @Excel(name = "绒-标准")
    private String quotationStandardId;

    @Excel(name = "发布时选的地点")
    private String quotationCityId;

    @Excel(name = "昨日均价")
    private String lastDayAveragePice;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDayAveragePrice(String dayAveragePrice) 
    {
        this.dayAveragePrice = dayAveragePrice;
    }

    public String getDayAveragePrice() 
    {
        return dayAveragePrice;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setCount(Long count) 
    {
        this.count = count;
    }

    public Long getCount() 
    {
        return count;
    }
    public void setQuotationClassId(String quotationClassId) 
    {
        this.quotationClassId = quotationClassId;
    }

    public String getQuotationClassId() 
    {
        return quotationClassId;
    }
    public void setQuotationClassAreaId(Long quotationClassAreaId) 
    {
        this.quotationClassAreaId = quotationClassAreaId;
    }

    public Long getQuotationClassAreaId() 
    {
        return quotationClassAreaId;
    }

    public String getQuotationStandardId() {
        return quotationStandardId;
    }

    public void setQuotationStandardId(String quotationStandardId) {
        this.quotationStandardId = quotationStandardId;
    }

    public String getLastDayAveragePice() {
        return lastDayAveragePice;
    }

    public void setLastDayAveragePice(String lastDayAveragePice) {
        this.lastDayAveragePice = lastDayAveragePice;
    }

    public String getQuotationCityId() {
        return quotationCityId;
    }

    public void setQuotationCityId(String quotationCityId) {
        this.quotationCityId = quotationCityId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dayAveragePrice", getDayAveragePrice())
            .append("date", getDate())
            .append("count", getCount())
            .append("quotationClassId", getQuotationClassId())
            .append("quotationClassAreaId", getQuotationClassAreaId())
                .append("quotationStandardId", getQuotationStandardId())
                .append("quotationCityId", getQuotationCityId())
                .append("lastDayAveragePice", getLastDayAveragePice())
            .toString();
    }
}
